import request from "@/utils/request";

export function notSignList() {
  return request({
    url: "/visitor/notSign",
    method: "get",
  });
}

export function visitorSignin(params) {
  return request({
    url: "/visitor/in/" + params.id,
    method: "post",
    params: {
      msg: params.mag,
      to_do: params.value,
    },
  });
}

export function alreadySign() {
  return request({
    url: "/visitor/alreadySign",
    method: "get",
  });
}

export function visitorSignOut(params) {
  return request({
    url: "/visitor/out/" + params.id,
    method: "post",
  });
}
